﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
using System.Web.Configuration;
using System.Security.Cryptography;
using System.Text;

namespace HospitalSystem
{
    public partial class AdminManager : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            String ShowValue = (string)Session["idlogin"];
            UserLabel.Text = ShowValue;
        }

        protected void LinkButton1_Click(object sender, EventArgs e)
        {
            FormsAuthentication.SignOut();
          
           // Roles.DeleteCookie();
            Session.Clear();

            Response.Redirect("~/Admin/Login.aspx");
            
        }
    }
}